//
//  PersonalInfoTopCell.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/9/9.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class PersonalInfoTopCell: BaseTableViewCell {

    @IBOutlet weak var rigthImageView: UIImageView!
    
    var iconUrl : String?{
        
        didSet{
            
            if iconUrl == nil{
                
                
            
            return
                
            }
            
            rigthImageView.sd_setImage(with: URL(string :iconUrl!), placeholderImage: UIImage.defaulIconImage(), options: []) { (image, _, _, _) in
                
                
            }
  
        
        }
    
    
    }

    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        contentView.backgroundColor = UIColor.white
        rigthImageView.addCornerAndBorder(borderColor: nil, borderWidth: 0, masksToBounds: true, cornerRadius: 35)
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
